﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SyncList.Business.Services;
using SyncList.Winner;

namespace SyncList.Business
{


    /// <summary>
    /// Accesseur de service
    /// </summary>
    public static class ServiceAccessor
    {


        /// <summary>
        /// Service d'import XML
        /// </summary>
        public static IImportService ImportService
        {
            get { return (new ImportService()); }
        }



        /// <summary>
        /// Service d'export XML
        /// </summary>
        public static IExportService ExportService
        {
            get { return(new ExportService());}
        }


        /// <summary>
        /// Service de fusion de listes
        /// </summary>
        public static IFusionService FusionService
        {
            get { return (new FusionService()); }
        }


        /// <summary>
        /// Service de calcul de Hash
        /// </summary>
        public static IHashService HashService
        {
            get { return(new HashService()); }
        }


        /// <summary>
        /// Base de registres
        /// </summary>
        public static IRegistryService RegistryService
        {
            get { return (new RegistryService()); }
        }

        ///// <summary>
        ///// Compare deux fichiers XML entre eux
        ///// </summary>
        //public static ICompareService CompareService
        //{
        //    get { return (new CompareService()); }
        //}

    }


}
